cmake_minimum_required(VERSION 3.29)
set(CMAKE_CXX_STANDARD 11)  
set(CMAKE_CXX_STANDARD_REQUIRED True)

project(test)

add_executable(test test.cc)
target_link_libraries(test /usr/lib64/mysql/libmysqlclient.so.20)
# g++ test.cc -o test -I/usr/include/mysql -L/lib64/mysql -lmysqlclient -std=c++11

